package cn.edu.scau.cmi.liguanwu.springDAO.client;
import org.springframework.context.ApplicationContext;
import cn.edu.scau.cmi.liguanwu.DAO.StudentDAO;
import cn.edu.scau.cmi.liguanwu.DAO.TeacherDAO;
import cn.edu.scau.cmi.liguanwu.domain.Student;
import cn.edu.scau.cmi.liguanwu.domain.Teacher;
import cn.edu.scau.cmi.liguanwu.util.SpringDAOUtil;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class SpringHibernateJavaFx extends Application {

	public static void main(String[] args) {
		launch(args);
	}
	
	@Override
	public void start(Stage primaryStage) throws Exception {
		// TODO Auto-generated method stub
		try {
		    Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/liguanwu/springDAO/client/Interface.fxml"));
	        primaryStage.setScene(new Scene(root,600,400));
	        primaryStage.setTitle("Program 7");
	        primaryStage.show();
		}
			 catch(Exception e) {
			        e.printStackTrace();
			 }
	}
}
